package com.bestom.videoplay.beans;

public enum CommandBean {

    // 获取SU权限
    getSu("/system/xbin/su\n"),
    //蓝牙连接成功闪灯的指令
    flashingLight("cat sys/devices/platform/11050000.i2c/i2c-1/1-0018/work_led\n"),
    //初始化gpio39指令
    initGPIO("echo 39 > /sys/class/gpio/export\n" +
            "echo out > /sys/class/gpio/gpio39/direction\n"),
    //亮红灯的指令
    redLight("echo 1 > /sys/class/gpio/gpio39/value\n"),
    // 亮绿灯指令
    greenLight("echo 0 > /sys/class/gpio/gpio39/value\n"),
    ;

    private String command;

    CommandBean(String command) {
        this.command = command;
    }

    public String getCommandString() {
        return command;
    }


}
